package com.markerhub.controller;

import com.markerhub.common.lang.Result;
import com.markerhub.service.SysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther:zhaoyangyang
 * @Date:2021/12/17-12-17-15:34
 * @Description:com.markerhub.controller
 * @version:1.0
 */
@RestController
public class TestController {
 @Autowired
 SysUserService sysUserService;
  @GetMapping("/test")
   public  Object test(){
    return Result.succ(sysUserService.list());
  }
}
